package com.manager.login.ssm_student.service.impl;




import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.manager.common.result.Result;
import com.manager.login.ssm_student.dao.UserDao;
import com.manager.login.ssm_student.dao.LoginUserMapper;
import com.manager.login.ssm_student.service.LoginUserService;
import com.manager.model.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import static com.manager.common.result.ResultCodeEnum.OLD_PASSWORD_ERROR;


@Service
public class LoginUserServiceImpl extends ServiceImpl<LoginUserMapper, User> implements LoginUserService {

    @Autowired
    private UserDao userDao;

    public User GetUserByAccount(String account) {
        return userDao.GetUserByAccount(account);
    }


}
